package com.zzyl.nursing.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zzyl.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author Administrator
 */
@ApiModel(description = "查询剩余预约次数")
@Data
public class ReservationListDto {

    /**
     * 时间
     */
    @ApiModelProperty(value = "时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime time;


    /**
     * 次数
     */
    @ApiModelProperty(value = "次数")
    private Integer count;

    /** 预约生效时段 */
    @Excel(name = "预约生效时段")
    private String alertEffectivePeriod;


}
